﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum ItemType
{
    UnKown = -1,
    Equip = 0, //装备
    Chips = 1, // 碎片
}

public class ItemBase
{
    public string itemName;
    public string itemDesc;

    public string itemIcon;
    public string itemCount;
    public ItemType itemType = ItemType.UnKown;

    public ItemBase( string name,string desc,string iconname,string count, int itemtype)
    {
        itemName = name;
        itemDesc = desc;
        itemIcon = iconname;
        itemCount = count;
        itemType = itemtype == 0? ItemType.Equip: ItemType.Chips;
    }
}
